interface Pagination {
  current: number
  size?: number
  total?: number
}

export interface PageDate<T> extends Pagination {
  records: Array<T>
  [key: string]: any
}

export type PageQuery<T> = Pagination | T
